import time
t = int(time.time())
while True:
    tt = time.localtime(t)
    ft = time.strftime("%Y-%m-%d %H:%M:%S",tt)
    t -= 1
    time.sleep(1)
    print("\r",ft,end="")